package com.tanhua.dubbo.api.mongo;

import com.tanhua.domain.mongo.UserLocation;
import com.tanhua.domain.vo.UserLocationVo;

import java.util.List;

public interface UserLocationApi {

    //保存或者更新当前地址
    void saveLocation(Long userId, Double longitude, Double latitude, String addrStr);

    //返回附近的人
    List<UserLocation> searchNear(long userId, Long distance);
}
